package com.jk.garden1.controller;

import com.jk.garden1.entity.SystemLogEntity;
import com.jk.garden1.service.SystemLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 系统日志
 */
@RestController
@RequestMapping("SystemLog")
public class SystemLogController {
    @Autowired
    private SystemLogService systemLogService;
    /**
     * 查询全部
     */
    @RequestMapping("selectSystemLogList")
    public List<SystemLogEntity> selectSystemLogList(){
        return systemLogService.selectSystemLogList();
    }
}
